package shop.product.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import shop.common.entity.Product;

import java.util.List;

public interface ProductService extends IService<Product> {


    Page<Product> list(Product product, Integer pageNum, Integer pageSize);

    Product details(String id);

    List<Product> listByName(String name);
}
